package com.example.oj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName competitionDetails
 */
@TableName(value ="competitionDetails")
@Data
public class CompetitionDetails implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 竞赛Id
     */
    private Long competitionId;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 提交Id
     */
    private Long submitId;

    /**
     * 
     */
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}